package com.design.proxy.dynamicproxy.advanced1.mq2.consumer;

import java.io.IOException;

public class SimpleMailConsumer {

//    @RabbitListener(queues = RabbitConfig.MAIL_QUEUE_NAME)
    public void consume(String message, String channel) throws IOException {
        System.out.printf("消费收到的消息: { message: %s \t , channel %s %n  }", message, channel);
    }

}
